using System;
using System.Collections.Generic;
using System.Collections;
using System.Text;
using System.Data;

namespace HSHLogicLayer
{
    public class Region : DBObject
    {
        #region Data members

        private ArrayList m_Kens = new ArrayList();

        #endregion

        #region Properties

        public int RegionID { get { return base.PrimaryKey; } }
        public String RegionName { get { return base.GetStringData("RegionName"); } }

        public ArrayList Kens
        {
            get { return m_Kens; }
        }

        #endregion

        #region Constructors

        public Region(int RegionId) 
        {
            throw new NotImplementedException();
            //base.Load(RegionId);
        }

        public Region(int primaryKey, DataRow RawDataRow)
            : base(primaryKey, RawDataRow)
		{}
        
		#endregion

        public void AddKen(Ken newKen)
        {
            m_Kens.Add(newKen);
        }
    }
}
